import request from '@/utils/request'

// 查询文化评论列表
export function listProjectComment(query) {
  return request({
    url: '/culture/projectComment/list',
    method: 'get',
    params: query
  })
}

// 查询文化评论详细
export function getProjectComment(id) {
  return request({
    url: '/culture/projectComment/' + id,
    method: 'get'
  })
}

// 新增文化评论
export function addProjectComment(data) {
  return request({
    url: '/culture/projectComment',
    method: 'post',
    data: data
  })
}

// 修改文化评论
export function updateProjectComment(data) {
  return request({
    url: '/culture/projectComment',
    method: 'put',
    data: data
  })
}

// 删除文化评论
export function delProjectComment(id) {
  return request({
    url: '/culture/projectComment/' + id,
    method: 'delete'
  })
}
